//
//  ZYXSearchResultCell.m
//  RuiBeiKang
//
//  Created by iOS开发1 on 2019/1/7.
//  Copyright © 2019年 JW. All rights reserved.
//

#import "ZYXSearchResultCell.h"

@implementation ZYXSearchResultCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)setModel:(ZYXClassificationModel *)model{
    _model = model;
    ///图片地址
    [self.imgView sd_setImageWithURL:[NSURL URLWithString:kImgAllUrl(model.picUrl)] placeholderImage:IMG(@"imgLoading")];
    self.titleLabel.text = model.title;
}
@end
